#ifndef __APP_SENSOR_H
#define __APP_SENSOR_H

#include "main.h"
#include "inv_mpu.h"
#include "mpu6050.h"
#include "filter.h"
#include "driver_encoder.h"
#include "driver_oled.h"

#define ENCODER_ERROR       1
#define MPU6050_ERROR       2

typedef struct {
    float pitch;
    float speed;
} sensor;

int Sensor_Init();
float app_Get_SensorData(sensor *Data);

#endif